Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation NuxeoDrive.CreateFile (Nuxeo Drive: Create file)

Operation id NuxeoDrive.CreateFile
Category Services
Label Nuxeo Drive: Create file
Requires
Since

Parameters

Name Description Type Required Default value
parentId string yes  
name string no  

Signature

Inputs blob
Outputs blob

Implementation Information

Implementation Class Class: org.nuxeo.drive.operations.NuxeoDriveCreateFile
Contributing Component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON Definition

{
  "id" : "NuxeoDrive.CreateFile",
  "label" : "Nuxeo Drive: Create file",
  "category" : "Services",
  "requires" : null,
  "description" : null,
  "url" : "NuxeoDrive.CreateFile",
  "signature" : [ "blob", "blob" ],
  "params" : [ {
    "name" : "parentId",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "name",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}